package it.ap.sa.core.utils.costants;

/**
 * @author Alessandro Paolillo
 */
public enum MdcConstants {

	/**
	 * Codice applicazione
	 */
	CODE_APP("codeApp"),
	/**
	 * servlet container name and version number
	 */
	SERVLET_CONTEXT_SERVER_INFO("serverInfo"),
	/**
	 * The name of the web application or null if no name has been declared in the deployment descriptor.
	 */
	SERVLET_CONTEXT_SERVLET_NAME("servletContextName"),
	/**
	 * containing the fully qualified name of the client
	 */
	REQUEST_REMOTE_HOST("remoteHost"),
	/**
	 * 
	 */
	REQUEST_USER_AGENT("userAgent"),
	/**
	 * a String containing the part of the URL from the protocol name up to the query string
	 */
	REQUEST_URI("requestURI"),
	/**
	 * the query string that is contained in the request URL after the path
	 */
	REQUEST_QUERY_STRING("queryString"),
	/**
	 * URL contains a protocol, server name, port number, and server path, but it does not include query string parameters.
	 */
	REQUEST_URL("requestURL"),
	/**
	 * specifying the name of the method with which this request was made
	 */
	REQUEST_METHOD("method"),
	/**
	 * 
	 */
	REQUEST_X_FORWARDED_FOR("xForwardedFor"),
	/**
	 * Identificativo sessione utente
	 */
	USER_SESSION_ID("sessionId"),
	/**
	 * Username utente autenticato
	 */
	USER_USERNAME("username");
	
	
	private String value;

	public String value() {
		return value;
	}

	private MdcConstants(String value) {
		this.value = value;
	}
}
